﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Epona.Domain.Query
{
    public interface IQueryCriterion
    {
        string ROOT_ALIAS { get; }//= "RootEntity";
        IQueryCriterion And(IQueryCriterion criterion);
        IQueryCriterion Or(IQueryCriterion criterion);
        IQueryCriterion Not();
        bool IsEmpty();
        string ToQueryString();
        NamedParameters GetParameters();
    }
}
